package com.yc.forum.dao;

import com.yc.forum.util.DBHelper;

import java.util.List;
import java.util.Map;

public class ClassifyDao {
    //查询帖子分类
    public List<Map<String,Object>> selectClassify(){
        String sql="select * from classify";
        List<Map<String,Object>> list= DBHelper.selectListMap(sql);
        return list;
    }
}
